
local jujiand = fk.CreateSkill {
  name = "lingling__jujiand",
  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{
  ["lingling__jujiand"] = "拒谏",
  [":lingling__jujiand"] = "锁定技，体力为3的角色使用的锦囊牌对你无效。",
}

jujiand:addEffect(fk.PreCardEffect, {
  anim_type = "defensive",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(jujiand.name) and data.card.type == Card.TypeTrick and data.to == player and
      data.from and data.from.hp == 3
  end,
  on_use = function (self, event, target, player, data)
    data.nullified = true
  end,
})

return jujiand
